﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="alipay.aspx.cs" Inherits="top_reviewnew_alipay" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>好评有礼</title>
    <link href="../css/common.css" rel="stylesheet" />
    <style>
        td{font-size:12px;}
        a{color:Blue; text-decoration:none;}
    </style>
</head>
<body style="padding:0px; margin:0px;">
    <form id="form1" runat="server">
<div class="navigation" style="height:600px;">

  <div class="crumbs"><a href="default.aspx" class="nolink">好评有礼</a> 支付宝红包 </div>
  <div class="absright">
    <ul>
      <li>
        <div class="msg">
            
        </div>
      </li>
    </ul>
  </div>
    <div id="main-content">
                <input type="button" value="添加支付宝红包" onclick="window.location.href='alipayadd.aspx'" />
                <input type="button" value="返回基本设置" onclick="window.location.href='setting.aspx'" />
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="导出红包赠送记录" />
    
    <hr />

    <table width="700" cellpadding="0" cellspacing="0">
        <tr>
                <td width="140"><b>红包名称</b></td>
                <td width="80"><b>红包金额</b></td>
                <td width="100"><b>最大领取数量</b></td>
                <td width="120"><b>红包截止日期</b></td>
                <td width="140"><b>总领用量/已领用</b> </td>
                <td width="60"><b>操作</b></td>
            </tr>
        <asp:Repeater ID="rptArticle" runat="server">
            <ItemTemplate>
            <tr>
                <td height="35"><%#Eval("name")%></td>
                <td><%#Eval("num")%></td>
                <td><%#Eval("per")%></td>
                <td><%#Eval("enddate")%></td>
                <td><%#Eval("count")%> / <%#Eval("used")%></td>
                <td><a href='alipay.aspx?act=del&id=<%#Eval("guid")%>' onclick="return confirm('您确定要删除吗，该操作不可恢复？')">删除</a>
                | <a href='alipaydetail.aspx?id=<%#Eval("guid")%>'>查看赠送记录</a></td>
            </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>

    <div>
        <asp:Label ID="lbPage" runat="server"></asp:Label>
    </div>
    </div>
</div>

    </form>
</body>
</html>
